<?php
namespace voxfa\net\store\pdo;

interface InetAddressConstants {
	
	const TABLE = "inet_address";
	const SELECT_BY_NAME = "SELECT * FROM %s WHERE dev=:name";
	const SELECT_BY_ADDRESS="SELECT * FROM %s WHERE address=:address";
	const DELETE_BY_NAME = "DELETE * FROM %s WHERE dev=:name";
	const DELETE_BY_ADDRESS="DELETE * FROM %s WHERE address=:address";
	const EXIST_BY_ADDRESS="SELECT COUNT(*) FROM %s WHERE address=:address";
	const INSERT_ADDRESS = "INSERT INTO %s VALUES (:dev,:address,:attributes)";
}